package chen.web.config.spring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import chen.web.email.EmailSender;
import chen.web.user.AccountManager;
import chen.web.user.LostPossswordService;

@Configuration
public class LostPossswordServiceConfig {

	private @Autowired AccountManager am;
	private @Autowired EmailSender sender;
	public @Bean LostPossswordService lostPossswordService(){
		return new LostPossswordService(am, sender);
	}
}
